<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>采集京东商品</title>
		<meta name="viewport"
			content="width=device-width,height=device-height, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
		<meta name="renderer" content="webkit" />
		<meta name="aplus-xplug" content="NONE">
		<link rel="stylesheet" type="text/css" href="/static/layui/css/layui.css" />
		<link rel="stylesheet" type="text/css" href="/static/iconfont/iconfont.css" />
		<link rel="stylesheet" type="text/css" href="/static/layui/css/modules/admin/default/admin.css" />
		<link rel="stylesheet" type="text/css" href="/static/css/new_layui.css" />
		<link rel="stylesheet" type="text/css" href="/static/css/default.css" />
		<script type="text/javascript" charset="utf-8" src="/static/layui/layui.js"></script>
		<script type="text/javascript" charset="utf-8" src="/static/js/index.js"></script>
		<style>
			#caiji_box {
				margin: 20px;
			}

			#caiji_box {
				line-height: 28px;
			}
		</style>
	</head>

	<body class="default">
		<div style="margin: 30px 20px;">
			<form class="layui-form layui-col-md12" lay-filter="tpl_goodscollect">
				<div class="layui-form-item">
					商品地址：https://item.jd.com/100017048040.html，商品编号是：100017048040
				</div>
				<div class="layui-form-item">
					<div class="layui-input-inline" style="width: 220px;">
						<input type="text" name="spu" placeholder="请输入要采集的京东商品编号" class="layui-input" />
					</div>
					<div class="layui-input-inline">
						<button type="button" class="layui-btn layui-btn-normal"
							lay-filter="submit_collect">开始采集</button>
					</div>
				</div>
				<div id="caiji_box">

				</div>
				<div class="layui-form-item get-info-flag" style="display: none;">
					<div>选择入库分类</div>
					<div class="layui-input-inline">
						<select name="category_sign1" lay-verify="required" id="category_collect1"
							lay-filter="category_collect1" lay-search>
						</select>
					</div>
					<div class="layui-input-inline">
						<select name="category_sign2" lay-verify="required" id="category_collect2"
							lay-filter="category_collect2" lay-search>
						</select>
					</div>
					<div class="layui-input-inline">
						<select name="category_sign3" lay-verify="required" id="category_collect3"
							lay-filter="category_collect3" lay-search>
						</select>
					</div>
				</div>
				<div class="layui-form-item get-info-flag" style="display: none;">
					<div class="layui-input-inline">
						<button type="button" class="layui-btn layui-btn-normal" lay-filter="save_collect">确定导入</button>
					</div>
				</div>
			</form>

		</div>
		<script>
			var collect_base_url = "{:url('jdgoods/baseCollect')}",
				collect_save_url = "{:url('jdgoods/saveCollect')}",
				category_select_uri = "{:url('Category/ajaxCategory')}";
		</script>
		<script src="/static/js/jdgoods/collect.js" type="text/javascript" charset="utf-8"></script>
	</body>
</html>
